﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace FacialClub.Models.Entities
{
    /// <summary>
    /// EmailTypes
    /// </summary>
    [MetadataType(typeof(EmailTypeMetaData))]
    public partial class EmailTypes
    {
        /// <summary>
        /// EmailTypeMetaData
        /// </summary>
        [Bind(Exclude = "EmailTypeId")]
        public class EmailTypeMetaData
        {
            /// <summary>
            /// EmailTypeId
            /// </summary>
            [ScaffoldColumn(false)]
            public object EmailTypeId { get; set; }

            /// <summary>
            /// Email Type
            /// </summary>
            [Required(ErrorMessage = "Email Type is required")]
            [StringLength(160)]
            public string EmailType { get; set; }
        }
    }
}